package com.axzhengxin.platform.business.mapper;


import com.axzhengxin.platform.business.domain.BizFlowTask;
import org.apache.ibatis.annotations.Param;

/**
 * 流程流水表操作Mapper
 */
public interface BizFlowTaskMapper {


    /**
     * 新增
     * @param bizFlowTask
     * @return
     */
    int insertBizFlowTask(BizFlowTask bizFlowTask);

    /**
     * 修改
     * @param userId
     * @param flowUid
     * @return
     */
    int updateByFlowUid(@Param(value = "userId") String userId,@Param(value = "flowUid")  String flowUid);

    /**
     * 获取详情
     * @param flowUid
     * @return
     */
    BizFlowTask getBizFlowTaskByFlowUid(@Param(value = "flowUid")String flowUid);

    /**
     * 获取Task
     * @param taskId
     * @return
     */
    BizFlowTask selectBizFlowTaskById(@Param(value = "taskId") Long taskId);
}
